package cn.edu.neu.vmmigeval.cloud.config;

import cn.edu.neu.vmmigeval.cloud.entity.PE;

import java.util.List;

/**
 * The host config.
 *
 * Created by yfwz100 on 16/2/25.
 */
public class HostRegistry {

    /** The pe list. */
    private List<PE> peList;

    /**
     * 当前host上总的Cpu
     */
    private int totalCpu;

    /**
     * 当前host上总的Ram
     */
    private int totalRam;

    /**
     * 当前host上总的Bw
     */
    private int totalBw;

    /**
     * 当前host上总的Disk
     */
    private int totalDisk;

    public HostRegistry(){

    }

    public HostRegistry(List<PE> peList, int totalCpu, int totalRam,
                        int totalBw, int totalDisk) {
        super();
        this.peList = peList;
        this.totalCpu = totalCpu;
        this.totalRam = totalRam;
        this.totalBw = totalBw;
        this.totalDisk = totalDisk;
    }

    public List<PE> getPeList() {
        return peList;
    }

    public void setPeList(List<PE> peList) {
        this.peList = peList;
    }

    public int getTotalCpu() {
        return totalCpu;
    }

    public void setTotalCpu(int totalCpu) {
        this.totalCpu = totalCpu;
    }

    public int getTotalRam() {
        return totalRam;
    }

    public void setTotalRam(int totalRam) {
        this.totalRam = totalRam;
    }

    public int getTotalBw() {
        return totalBw;
    }

    public void setTotalBw(int totalBw) {
        this.totalBw = totalBw;
    }

    public int getTotalDisk() {
        return totalDisk;
    }

    public void setTotalDisk(int totalDisk) {
        this.totalDisk = totalDisk;
    }

}